I'm not sure if the finalized values are integers or floating point, but if they are floats, use the DoubleSum one instead.