Moved segment start and size logic checks to FrameSegment.