Army ants do something similar as well.
https://www.scientificamerican.com/article/ants-and-the-art-...