Doubled the efficiency of statistics commands