Commit on histograms and segmenting