R railSegmentLength