Refactor
Fix confusion between loopEnabled and multi-page-size enabled.