changed edges to match placement