template WhileRolled() { signal input in; signal output out; var acc = 0; var i=0; while (i