Preparation work: read the subtree into an index