new versions of one sided flanking HMMs