PointSequence.Pad does not accept negative length.
Renamed StateTable to StateTableBuilder, made it generic wrt. input and output types.
Created new StateTable type replacing collection of states.