combine pruned genparticles branches into one group