I am simulating Brownian motion and its interaction with fellow molecules. Due to the large amount of combination, I am getting the error "// Codes below cannot run due to runjava:293: code too large" in public void run(). I have tried increasing the memory size of the compiler, but that doesn't help.

Appreciate your advice on this matter.

Thanks in advance.