Clustering, finds k-spacing