worked on the 3d version, the solver appears broken