design process of permanent opening in hard rock mining