Add downsampling.