Switched to external iteration.