Adjust edges