Add basic dynamic downsampling