reduce of opcodes