can we use n :: dependenciesOf to be sure that is O(1)?