new pixel search that checks all combinations and returns a position in im2 (simpler but less useful)