working state, but slow for insert
improve indexing by doing it constantly, starting to index just a few elements