fixed compute data dependence graph