When an average ratio of some moments is calculated (e.g. mean radius), first sum the moments separately over all cells and/or timesteps, and divide in the end.
As of now, in some cases (mostly in plot_profiles?) the division is done first in each cell and averaging is done afterwards.