switched back to periodic boundary conditions