Re-write od_flag_eqc to shrink correctly