Algorithm for chbp (still need Newick output).