Get rid of global comparer.
Convert the type of all counters to double.