hierarchical KMeans init
unused variable p
merged htree