It is wasteful, and can cause timeouts when the last layer of nodes has high outdegree
The fix is in rust/src/server/visitor.rs; everything else is tests.
@olasd This should fix your issue.