Optimization

Optimize DMA iterating.