Thickness of the particle swarm in cosmic-ray air showers