Optimizations
Optimizations
Rewrite CheckEdges