Machining the cavity using the Spiral scan