switched to keeping parents, but bugs still present
moved collapse/trim_branch
branch pruning now working