Attempt to optimize the standard KMeans Algorithm