Fix issue 259 Check the range of the signed operand after optimization