Initial mode / median calculations.
Fixed mode calculation.