unary ops optimization