Have HistogramNd implement Dimensions interface