better and quicker indexing on lines that are modified, still lots to do