New option for resample, specify desired output dimension