Follow up to #35850 addressing #35850 (review).
Replace the consume integral for loops in connect_block with LIMITED_WHILE. This is the preferred pattern for fuzz tests because it stops when the input runs out instead of repeating the loop body with default values.