add hmmsegment