prev
curr
0
1
2
3
4
5
6
2
5
1
9
3
7
4
8
6
4
2
7
1
5
$j-1$
$j$