finished indexing algorithm