Added a "lazy" iteration method that will not block browser UI