Introduce loop to add more data within each thread.

Change-Id: I248ed5cdc65792e971bd71b27727c03632d0677b