Compressed hierarchical binary histograms for summarizing multi-dimensional data