Optimizing brainfuck interpreter