A 3-D mathematical model of solidification of feeding distances of cast-steel bars