completed prune taxa list and prune tree function