minimum cycle basis extraction (cont'd)