children[NORTHEAST] = new QuadTreeNode(bounds.north, ewHalf, nsHalf, bounds.east, maxItems);
children[SOUTHEAST] = new QuadTreeNode(nsHalf, ewHalf, bounds.south, bounds.east, maxItems);
children[SOUTHWEST] = new QuadTreeNode(nsHalf, bounds.west, bounds.south, ewHalf, maxItems);
Vector temp = (Vector) items.clone();
items.removeAllElements();
Enumeration things = temp.elements();
while (things.hasMoreElements()) {
put((QuadTreeLeaf) things.nextElement());
}
//items.removeAllElements();
}