STSZ
#define STMASK (STSZ-1)
for (i=0; i<STSZ; i++) {
for (j=i=0; i<STSZ; i++) {
for(i=0; i<STSZ; i++) {
kcpu->nsegmap = STSZ;