speed up dependency calculation by a whole lot.