performance enhancement by using correct data type for RasterAccessor