Set required segments.