fix inconsistent naming of symbols

improve code and increase const-correctness

(0) -100 -30 -10 -2 +2 tip

mercurial