Track depth per node rather than per pattern