Optimized GenerateTargetList() according to profiling result.