Add region swapOut, beforeSwapOut