
int[] ends = new int[{0}];
for (int i = 0; i < {0}; i++) {{
    ends[i] = n_svs[i] + starts[i];
}}
