Exploiting manufacturing variations for compensating environment-induced clock drift in time synchronization