setExprGenerated modified and algorithms modified