The fundamental problem in molecular simulation is that we can simulate only much smaller volumes than a realistic sample should have. Even a drop of water is too large to simulate. Moreover, simulating a complete drop would be of no interest (for reason that I can go into if you want, but that involves quite some details about modelling liquids).
So we simulate a finite volume, and even a rather small one. What shape should it have? And what should be around it? There is no good answer to the shape question as the volume is much too small to be realistic anyway. And if we put walls around it, we make a system much too small to show certain forms of motion, such as slow diffusion. So it's best not to have walls at all.
Conclusion: we use 3D hypersurfaces, i.e. the surfaces of some 4D volume. Finite volume, and yet without boundaries. Both hypertori and hypersheres have been used, but hypertori won because they cause fewer unwanted artifacts.