binary search to sync label with gps