Multiple polygons with a loop

I have seen that some of this quads are twisted, do you know how could I avoid It? I can’t imagine the way to do that easily