averaging.py avoids mistake of not setting CB flag