Optimized merge algorithm in dc recovery.
Merge pull request #185 from shaitan/master

Optimized merge algorithm in dc recovery.