initial work to convert simplifyExpressions to new optimizer