Grain refinement of solder materials by minor element addition