Measure shortest route between two nodes in a BST