remove AllocRecord crap
downsampling