I don't understand this.  I'm assuming that "min_scored_for_location" should be renamed "min_to_score_for_location".  But the comment above this suggests that the min be increased, but it looks like it is replaced.  Should this be a "+=" operator?