Updates to improve speed of processing within loops to enable more to be processed.