I should have added the easiest way to make the cut is semi binary.
Take the outermost If or If then else.
(or multiple outermost If then elses)
Not inside each If or else clause
take all the outermost if else endif constructs.
And so forth for each version. So each version is a complete nesting level.
Thanks
Gar W. Lipow