Rewrite the instruction memory initialization