Fixed incomplete pruning issue

Previously if some species is ineligible to prune, the loop will be stopped so that the remaining edge species won't be checked. Actually lots of remaining edge species are still eligible to be pruned. Replacing break with continue can effectively resolve this issue.