As promised: editing. Now the algorithm correctly classifies the situation when you rename a node somewhere in the tree. &diffest2