make sure that EWMA intervals are adjacent