update compile_append_out to account for the primitive bytecode