add a better way to search many items in a large list.
detect threadness on all packages dependencies, instead of just relying
on the one defined in this target.