by reconstructing the chessboard we can get a rectangle of squares