Optimized the speed of <run_hmmgen.pl>