private void createLeaf()
{
subNode = new QuartNode[4];
CPoint p=envelope.getCenter();
Envelope env;
env=new Envelope(envelope.getMinPoint(),p);
subNode[0] = new QuartNode(env, deep + 1, maxDeep);
env = new Envelope(envelope.rightDown(), p);
subNode[1] = new QuartNode(env, deep + 1, maxDeep);
env = new Envelope(envelope.leftUp(), p);
subNode[2] = new QuartNode(env, deep + 1, maxDeep);
env = new Envelope(envelope.getMaxPoint(), p);
subNode[3] = new QuartNode(env, deep + 1, maxDeep);
}