Revised strahler and pruning to recursive version