[ALLI-2127] Added a more dynamic hierarchy tree.