counter > value
Some corrections for EWMA and tests