Outside all has one ID. Then with your idea of Line of Sight you just show those squares that can be seen and have the same ID.