I don't like such things: `node[i][3][a - 1][1]`.
It takes some time to calculate what this means.
`node[i][3]` is used several times here, we can save it to a variable with pretty name.