port skiplist /random / erena  from leveldb/re2