Thesis.
Segment SMT done