split between threads