make segment flag