Periodic Boundary Condition In Simulation