histograms and efficiency