Add support for histograms with a dynamic range