I am re-locating two 40 gallons from the kitch in the first level and second level to the basment. I am trying to firure out what size flue pipe to use the total run is 40 feet. the entire run will be vertical except at the flue. would it pass code with a 4 in double wall or would it be safer to just go with a 5 in. any replies greatly appreciated?