pos0[j, 0] syntax is faster than pos0[j][0]