public void synchronizeCuboidManagement(boolean cuboids, boolean habitats) {
		try {
			
			if (cuboids)
				for (int i = 1; i <= greatestID(); i++) {
					synchronizeCuboid(i);
				}
			
			if (habitats)
				for (int i = 1; i <= greatestID(); i++) {
					synchronizeHabitat(i);
				}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}