Base and head machining for spheroidal cast iron compressor