Made indexer multithreaded