I'm talking about the rays thing.
The problem can be solved without rays; my mod's implementation flood fills all spaces with faraday walls and assigns closed areas a unique ID, that way WIFI / EMP / portals can only communicate to other ... that have the same faraday id