Bug causing callgraph to crash when either of the metrics is 0.