optimize photoset