[spin] guard against overflow condition