enabling parallel k-means processing