0024985: Control of maximum degree and number of segment in the Pipe Shell algorithm