Single threaded brute force for finding the correct fix. Don't really like it : might be something smarter to do, will try threads.