find root in collection of nodes
really detect when root node is not found in the syntax tree