added linear octtree
added sparse