21.2.3 Dealing with the boundary conditions