private void bubbleUp(int i) {
		int level = (int)((Math.log(i)/Math.log(2)));
		if(level % 2 == 0) {	//	in min level
			if(i / 2 != 0 && arr[i] > arr[i/2]) {
				int temp = arr[i];
				arr[i] = arr[i/2];
				arr[i/2] = temp;
				bubbleUpMax(i/2);
			} else {
				bubbleUpMin(i);
			}
		} else {
			if(i / 2 != 0 && arr[i] < arr[i/2]) {
				int temp = arr[i];
				arr[i] = arr[i/2];
				arr[i/2] = temp;
				bubbleUpMin(i/2);
			} else {
				bubbleUpMax(i);
			}
		}
	}