Spheroidization cycles for medium carbon steels