for pipes with a rectangular cross-section