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