/mine: ceil() to the last page and set the hash as well on >last.