Clustering to minimize the maximum intercluster distance