Replaced borders by a grid and rectangles.