K-Means commit