SumSolver without branching.