a silly copy of BlockTreeTermsDict and Lucene41PBF