Selection of the material for the legs of the junction