dom.listbetwesn: DFS instead of nodeIterator.