Unable to unroll loop / Forced to unroll loop, but unrolling failed.

You can use LOOP and BRANCH/FLATTEN words above loop and and if respectively.