Allow to compute histograms too