And doing some more research - I guess the important part is to identify not the nodes but leaves. As far as I understood in terms of Octrees, a leaf always represents an empty space.
By any chance does somebody knows how to get the leaves from TOctree2? It has to exists, because if you execute DumpStats() it will tell you how many leaves it has they just not expose it.