adapt thresholds to avoid memory issues

another idea could be storing numbers instead of strings and having a dict for the mapping anywhere
Merge branch 'master' of github.com:nicolas-fricke/semmul2013-group1