removed bug from Index rdd, rangePartitions