Change from phash2 to md5 for key slices