How to quickly detect edge chipping and optimize cutting edges of tools