Help with Divide Surface Command

Please help! I am trying to make a control point based running bond brick paving pattern. I have it almost all figured out, but somewhere early in the definition before the definition, the brick has a “double row” of brick before the running bond pattern (see photo).

Please find definition attached.

Thanks so much!

Paving Grasshopper.gh (19.1 KB)
Paving Rhino.3dm (37.7 KB)