17 with two identical pegs. Make all the frames for the inner tent the same way.