finalized kmeans post