physics: split thread object distribution to a seperate function