fixed off-by-one bug in BufferBid