Fix thread spawners for thread numbers i*barrel_height*num_sp