Faster mode by iterating over table - yay
Explicitly inline loop for speed