Machining of a multi-stage axial pump housing