prevent arithmetic overflow on score_strings

This commit prevents possible arithmetic overflow on score_strings
function. In the end of this function, it "caps" the score to prevent
exaggregates. However, due to "capping" expression overflows,
actual score turns zero when it shoudn't be.