Refactored CumulativeSumAggregationBolt