Make sure the box is large enough so that the molecules can be placed in the box without overlap.
If your chosen amount of molecules cannot be placed in the chosen box, then it hangs for ever.
If your chosen amount of molecules cannot be placed in the chosen box, then it hangs for ever.