Heat treatment of iron based melts before quenching