Add IndexedRDDBenchmark and fix a bug