Adjusting vertex coordinates