Assembly of mechanical parts