An axis-aligned rectangle is represented by a list [x1,y1,x2,y2][x_1, y_1, x_2, y_2][x1,y1,x2,y2], where:
(x1,y1)(x_1, y_1)(x1,y ...