Repair and maintenance in the process of assembling mechanical parts