Port map/reduce job for histograms, but the framework is probably too naive... no combine :(