Leaf to leaf path lengths in trees of given degree sequence | Synapse