major refurbishment of the rootSolver