first version of the computation for the hierarchy tree (the computation of significant nodes for the hierarchy tree is the same than for the similarity tree)