optimized loop.