calculate found cycle path