further multi threading of indexing