Improvements on the RMQ-Problem, with Applications to LCA and LCE -- Session 2. Indexing