Forget about codegeneration for optimaze=='size' mode. Fixed.