resample by amount now works for paths and groups, per contour or not.