Each time the larva gets too big for its skin, it molts (sheds its skin) and goes on eating and growing.