Nice optimization using bsr opcode. Under normal use we should never
have to check more than the current page and the next page.