fix some bugs in pitch ring calculation, make it less sticky.