Fetch grid cells only once per solver iteration.