fix: last page not appearing
avoid returning a range too large in the last partition returned by GetPartition
bisect file to find used space to speedup startup and many other DB operations