add kmeans clustering to profiler