add faster transition counting
keep stateseqs as int32s