Create cdc_median