Weak periodic boundary conditions