add contribution from tees; calculate length of inclined section