Streaming approximate histograms