fixed two bugs in octrees. Octrees still do not work.