Fix a pivot bug, and share first pivot index with correct uv