Union Find. Max Spacing K Clustering