added provide grid in create octree