refactor1 of aggregation. allowing mean.rebuildAggregated