Organize code
Reduce striding by re-ordering iterators