Added dynamic thread creation to use all available threads evenly