vanilla rchitecture compiling optimization