Improving the wear resistance of tools for stamping