create octree check if start coordinate is < max coordinate