Must be a list instead of a generator to use `.remove`.

Minor fix to make gridfill py3k compatible.