Group milli-histograms in 5seconds-histograms before storing them