revert to disconnecting edges too (not only shortcuts where then the LevelEdgeFilter would be required)
find out max edges per node when optimizing