public void beforeScheduleCheckRange() {
		for (Map.Entry<String, ArrayList<HashMap<Range, Vector<Person>>>> eachDay : this.diffDayWithRangeAndConflictPerson.entrySet()) {
			String dayName = eachDay.getKey();

			Vector<EachHour> timeList = dayTime.get(dayName);

			ArrayList<HashMap<Range, Vector<Person>>> allRangesInSameDay = eachDay.getValue();

			for (HashMap<Range, Vector<Person>> eachRange : allRangesInSameDay) {
				for (Map.Entry<Range, Vector<Person>> rangePerson : eachRange.entrySet()) {
					Range r = rangePerson.getKey();
					// if r is false, then we need to check it
					if (r.isChoosen() == false) {
						int start = r.getStart();
						int end = r.getEnd();
						for (int timeIndex = start; timeIndex < end; timeIndex++) {
							for (EachHour eachHour : timeList) {
								if (eachHour.getHour() == timeIndex) {
									if (eachHour.isChoosen() == true) {
										r.setChoosen(true);

										for (Person p : rangePerson.getValue()) {
											p.updateRawSlot(p.getRawSlot() - (end - start));
										}

									}
								}
							}
						}
					}

				}
			}

		}

	}