[boost] [Graph] Efficiently finding cycles in a (multi)graph