Optimize callEach()