grab stubs only once, skip grabbing unused dependencies