MonoidAggregator.sumBefore returns MonoidAggregator