MP: remove control code from edge linking loop