docs: private static Page extractNonEmptyPage(PageBuffer pageBuffer)
      {
          Page page = pageBuffer.poll();
          while (page != null && page.getPositionCount() == 0) {
              page = pageBuffer.poll();
          }
          return page;
      }