divide runs and threads