Updated imm resources usage by checking size of imm during VLIW packetization phase