thorium: lower granularity in main loop

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>