int[] starts = new int[{0}];
for (int i=0; i<{0}; i++) {{
    if (i!=0) {{
        int start = 0;
        for (int j=0; j<i; j++) {{
            start += n_svs[j];
        }}
        starts[i] = start;
    }} else {{
        starts[0] = 0;
    }}
}}
