Shallow water: exploit hessian symmetry