attempt to remove duplicated pairs in 06_rebuild.

To be tested.