Add level field to JobDagNode.