var cornerNeighbors = [ [ 1, 2, 4], [ 0, 5, 3], [ 0, 3, 6], [ 1, 7, 2], [ 0, 6, 5], [ 1, 4, 7], [ 2, 7, 4], [ 3, 5, 6], ];