This is what i'm thinking of using as a base so as to reuse work when changing the structure to use index regions between writes. It makes large and shallow indexes atm.