1 for (int c1 = 0; c1 < N; c1 += 1)
2   s0(1, c1, 1, 0, 0);
3 for (int c1 = 0; c1 < T; c1 += 1) {
4   for (int c3 = 0; c3 < N; c3 += 1)
5     s1(2, c1, 0, c3, 1);
6   for (int c3 = 1; c3 < N - 1; c3 += 1)
7     s2(2, c1, 1, c3, 1);
8 }
9