Properly remove duplicate images. cutoff value for pypuzzle
Handled edge case for positive single image position