Effect of Mg alloying and cooling rate on the microstructure of silicon | Synapse