Design of underground mines for civil reuse