to linearize the new boundary conditions