The external path length of an extended binary tree is the sum over all external (square) nodes of the lengths of the paths
from the root to each node. For example, in the tree
above, the external path length is 25 (Knuth 1997, pp. 399-400). The internal
and external path lengths are related by