Simulating effects of blasting on stability of mine workings in underground as well as in opencast mines