flipped incorrectly assigned inf values in StatCounter