Modeling of the peritectic reaction and macro-segregation in casting of low carbon steel