Adapt number of passes as function of tool wear