write the logic of reverse indexer
Merge branch 'develop' of git@github.com:guokr/simbase.git into develop