An approximate histogram in constant space, based on Ben-Haim & Yom-Tov, "A Streaming Parallel Decision Tree Algorithm."