Setting the alloy mole fraction