Minor bug with all edges corrected