Histograms processing.