Modified RasterfilteringIterator to be modeled after the AIFI.