Added false positive detection method. Added improvement: if only 1 value is wanted, break at the search at the moment of found it.