Allow custom sending of edge length with k