[localization] Modifies synchronization algorithm (just skeleton here).