fixed a bug of algorithm.cython.misc.ScoreDict