Add part of trellis encoder.