MAX_CYCLE

private const val MAX_CYCLE: Int = 32

Longest repeating block foldRepeats looks for: recursion cycles are short (1 direct, 2 mutual, a handful for a delegation loop), and the scan is bounded anyway by the JVM's 1024-frame trace ceiling.