Integrated basic statistics into base algorithm setup.