multiple core capability for resample_grid()