Different and possibly improved sequentialEach algoritm.
Simplified code.