startDepthCount not used
Changes toHierarchy() to more user-friendly