Saving before performing surgery on general solver to avoid inefficiencies