Edge insertion performance optimization