Implemented destroySegment