some change to evaluate the hierarchical cutting tree