SequenceSmpBldr now produces correct code.