Refactor final parameter by pooling instr_mem's
Refer to README for this sample project documentation.