[quote]Makes me wonder why I didn't think of this before!{/quote]

Actually, I wonder why the authors of PBP didn't think of this in the first place, and set a readable flag that would indicate an overflow/underflow condition.