new boundary conditions
Tested ok