Reorg of code regions