remove_duplicates -> deflate