X
0
X
0
...
S
−
v
k
S
-
v
k
...
S
X
0
X
0
0
...
...
0
v
max
v
max
...
v
0
v
0
⋮
⋮
0
⋱
⋱
⋮
⋮
v
max
v
max
...
v
0
v
0
s-1
0
...
...
0
v
max
v
max
...
v
0
v
0
s
s
v
max
v
max
...
v
0
v
0
0
...
0
s+1
0
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋮
⋮
⋮
⋮
⋮
⋮
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
0
S
S
0
...
...
0
v
max
v
max
...
...
v
0
v
0