The sand is firmed up around a pattern - usually made of wood, expanded polystyrene (as here) or plasticene.