adding K-means schedule histograms