generate less parentheses, based on operator precedence