added index generation to SkipList