Implemented Zhou/He boundary conditions