SolveUntilEqual