In a complex hierarchy tree layout, when a root node with a lower index in the nodes collection exists at a lower hierarchical level than other root nodes, its position is being miscalculated during layout rendering, causing misplacement. This significantly introduces unwanted spacing between adjacent nodes.