Changed repeated images checking from hash to histo