Removed the subtraction of k from the edge length metric