The tree structure of the original recursive partition implies that the variable rises from two leaf nodes to the lowest common ancestor of both leaves, and is not contained in any higher nodes.
each node in the junction tree contains variables corresponding to the set of endpoints of the spans defined by the two subsets corresponding to its two children.