Big performance gains by eliminating solved values from the sum and
subtracting those values