public void checkDegenerate() {
		if (size() > 1) {
			MyPoint min = (MyPoint) get(0), next = min;
			for (int i = 1; i < size(); i++) {
				Object element = get(i);
				if (element instanceof MyPoint) {
					if (((MyPoint) element).x <= min.x) {
						next = min;
						min = (MyPoint) element;
					}
					else if (((MyPoint) element).x <= min.x) {
						next = (MyPoint) element;
					}
				}
			}
			if (min.x == next.x && min != next) {
				min.x -= 1;
			}
		}
	}