add another function wrap the miner_gen_work
use the fixed length on MM_VERSION