Definition and control of thickness of relaxed zone around mining gateway