Some optimizations on iteration edges