You've assumed the cube is yx ordered, but it might be xy.