refactored dendrogram tree interface
construction of tree structure