Finish SegD class.