Fixed resampling function size allocations