optimizing how we store physical locations to detect optical duplicates