hmm modificando segm