use num for range shard