CompileNestedExpression modified