tested tile_rectangle in full