Add pairwise orthogonality check on a sequence of trees.