finished eliminating replicated images