use cactus_analyseAssembly to for fasta stats and only do dynamic programming at given root.  still need to incorporate n50 into opt fun