add basic peephole optimizer