simplified reduceParen