use the right dep map for the given dep type