Investigation of the rock mass state in the near-wall part of the quarry and its stability management | Synapse