Statistics: Provided an implementation to aggregate statistics over multiple intervals.
Therewith, space is conserved and the overhead is reduced.
TODO: record the actual aggregated values and not the current values.