add segscan by key with fsegscan and ksegscan