Refactor compiling rounds