fix C-k for digraphs