Numerical modelling of the pit wall stability while optimizing its boundaries to ensure the ore mining completeness | Synapse