@roshanr95 I was looking at this and I think the `device_vector` should be reset to it's original values (or new random values) each iteration of the loop. Now it will locate and remove the duplicate items once and every other loop iteration will do less work than the first. Can you update this?