Reverting to a known state. The refactoring will start with
the master, change the box data structure so that it works in
(i, j) coordinates, and use vertex2pixel() to access box[i][j].
Subsequent changes will "propagate" the (i,j) raster coordinates
to other classes (such as the Vertex class).