New implementation of the statistics aggregation