Grasshopper Waffle Code Problem

Nobody can help you without posting your code and geometry.

I just mentioned this yesterday in another thread.