Optimization
Add IC detection cache for optimization