Planning and design of underground space construction during longwall mining in coal mines