They were consistently dug as limestone quarries and by the 18th century, the caving-in of some of these quarries posed safety threats, so the government ordered reinforcing of the existing quarries and dug new observation tunnels in order to monitor and map the whole place.