O(n log n) algorithm for LCA when calculating unrooted MAST metric.