multithreading to calc average daily total + interest