Square and rectangular pipe