change resource code size