Cluster tree construction