Fixed problem where boundary values are higher than min water height