Periphery trench for reducing the impact of surface subsidence on structures