Added "None" option for downsampling