iterating through all cells is not a good idea, fdo#71934

Change-Id: I370f641f0fffed8835a32c577c2f2e841ba419aa