[localization] Should fix the overflow problem in intermediate computations during synchronization.