N-Dim Histogram