adds a checkbox downsample