Generalization of the Lee-Shaffer solution in the theory of metal cutting