you got idea for cutting?

I think next task is to combine the for loops...