I just make it easier on myself (rather than a bunch of math) and I add 3" per join. So you would have needed 24". I know that is too much, but just easier for the old brain! (i think you used so very little because you were calculating your WOF as 40" and it is often 42" or 43", so you already have some wiggle room.)