Modified the phylogeny generation step to chuck poor phylogenies generated