adding MCMC heuristic search
protect against 0 length genomes