DynamicFunction compileN ==> generateN