Histogram Dimension working