How to remove the recurrent items from list- Waffle Structure

Hi everyone!

I've made the waffle algoritm from some tutorial and almost everything is fine, except- the recurrent, last numbers of section curves of generated geometry- layed on the paper. When You take a look at the two planes where the section curves are oriented, I think You' ll understand what I mean. It's not wrong I think, but pretty annoying. 

Do You guys have an idea how to easily change existing algorithm ? aaaaaaa.3dm  WAFFLE3.gh