Apply same changes for dual_cd.
Add shrinking benchmark for dual_cd.