better pruning of rrt