weird inverse problem not converging with mesh refinement