metal casting forming and heat treatment