Gave each patch reference to its edges