For welding a polished component of one metal to a polished prosthesis of another metal, ramp surfaces are used, to compensate for loss of precise dimensions of the two components at the surfaces that face each other at the weld interface, during the respective polishing procedures for the two metals.