add too short group in the segment function