curr: 1 1 0 curr: 1 1 1 curr: 0 1 2 19 19 19