template WhileUnrolled(n) { signal input in; signal output out[n]; var i=0; while (i