Using atomic pointer for bsf for swapability.