calculate weight of rectangle tube