Collapses an extended stem into a normal stem, or allows going back from a
A normal stem is created by taking the minimum over all possible basepairs of the extended stem.
Backtrack from a normal stem back into the extended stem.
Stacking with extended basepair information
A stem is extended by another pair. The score contribution is dependent on the previous pair. Note that for score lookup purposes, the inner pair is switched.