Axial compressor intermediate duct design and optimization