Compare keys between buckets