private int[] smallestIndices() {
		int[] smallest = new int[] { Integer.MAX_VALUE, Integer.MAX_VALUE };

		for (BufferedImage b : history) {
			if (b.getWidth() < smallest[0])
				smallest[0] = b.getWidth();
			if (b.getHeight() < smallest[1])
				smallest[1] = b.getHeight();

		}
		return smallest;
	}