Text this: Optimization of cutting depth parameters to achieve stability in the machining process