CCL: Proper way of doing a Boltzmann average