Cull pattern on z direction

Hey there,
I am learning grasshopper, Currently, I am stuck in this problem in a cull pattern. I want cull pattern operation on v direction also.

Thanks,
Best Regards,
Huzefa malik

Cull pattern on z direction.gh (8.9 KB)

Cull pattern on z direction_RE.gh (14.0 KB)