public void Recount() {
		if (root.numOfElements == 0) {
			root = null;
			return;
		}
		BTreeNode p = null;
		BTreeNode pp = null;
		stack.push(root);
		while (!stack.empty()) {
			p = stack.pop();
			if (p != null) {

				if (p == root) {
					p.setPoint(rootX, rootY);

				}

				for (int i = 0; i <= p.numOfElements; i++) {
					pp = p.children[i];
					if (pp == null) {
						break;
					}
					int x = cnt.getNextPos(i, pp.numOfElements);
					pp.setPoint(x + p.getPoint().getX(), p.getPoint().getY()
							+ 3 * HEIGHT);
					stack.push(pp);
				}

			}

		}
	}