Why is machining to heat treatment?