updated bytecast call graph code