This code checks the assumption that repeating the search n * arraySize will cover all possible locations eventually (probably multiple times)