Common edges bug fixed