Added contraction of gene tree branches according to threshold