add R-Tree support for external indexes and indexes optimizations
28 files changed