speed up stats migration