Heat treatments of cast-iron