Modified PIZ_ATOMIC