Remove mem_code, bytecode will be dynamically allocated