Histogram improvements