Changed algorithm for vehicle sync.