private void updateAllAQ() {
		int c = movie.getCapacity();
		for (int i = 0; i < numberOfAtoms; i++) {
			try {
				atom[i].updateAQ();
			} catch (Exception e) {
				atom[i].initializeAQ(c);
				atom[i].updateAQ();
			}
		}
		if (obstacles != null && !obstacles.isEmpty()) {
			RectangularObstacle obs = null;
			synchronized (obstacles.getSynchronizationLock()) {
				for (int i = 0, n = obstacles.size(); i < n; i++) {
					obs = obstacles.get(i);
					if (obs.isMovable()) {
						try {
							obs.updateAQ();
						} catch (Exception e) {
							obs.initializeAQ(c);
							obs.updateAQ();
						}
					}
				}
			}
		}
	}