search for ID by biggest segment