add segscan by key with fsegscan and ksegscan
started with pcr tridiagonal solver