Modifications for not oriented graph and connective components search