removed bug from checking current result and possibleBestResult