Formation of waste heaps on specially designated areas or excavated spaces of quarries during open-pit and underground mining operations