Trace the caterpillar shape