Spheroidization of medium-carbon steels