Histogram Method to compress feature value distribution and find best splits