Distribution of the magnitude