tree structure for clusters