public void sitDown(int x) {
			x=map[x];
			while (true) {
				int left=x*2+1;
				int right=x*2+2;
				int y=x;
				if (left<size&&v[r[y]]>v[r[left]])
					y=left;
				if (right<size&&v[r[y]]>v[r[right]])
					y=right;
				if (y==x) break;
				else {
					swap(x, y);
					x=y;
				}
			}
		}