Updated the solver algorithm bit.