Add typical cycle detection algorithm.