Fix raster reading with step