straighten based on new corners set