public void hystoryMem() {
		Vector<Integer> clone = new Vector<Integer>();
		for (int a : map) clone.add(a);
		hystory.add(new HystoryElement(clone, width/8, height/8));
		hystoryRedo.clear();
		hystoryRedo.trimToSize();
	}