K-means tree.