Merge all loopTotalCount into parent so parent will generate the test
case;
Add loop_min_total to incrementally generate tests of larger scales;
Fix an integer overshifting overflow in MaxMemory handling;
Fix a crash in statistics.