The development of a new grain refiner for magnesium alloys using the edge-to-edge model