Fixed brute search