Implement more accurate buffer calculations for subsampled gdal tiles.