Switched over to using size_t for string allocations to handle large rasters