finding and scoring matches actual score and upper bound score