A center-of-mass pulling simulation can look straightforward: choose two groups, specify a direction, and apply a moving restraint. But there is a geometry problem that is easy to miss. Under periodic boundary conditions, the simulation box repeats in every direction.…