Fix heap overflow in cactus_phylogeny
Fix heap overflow in cactus_phylogeny

First of at least two memory fixes.

benedictpaten/cactus,benedictpaten/cactus,benedictpaten/cactus,benedictpaten/cactus,benedictpaten/cactus