add find inv elem, gen sofi germ numbers