loops all have fixed max iterations, still weird error on second row of every image.