5.2.5 Boundary conditions setup