Limit the number of compared author tokens

limit the number of compared author tokens, preventing out of memory exception