check each arithmetic expression for overflow