Implemented Octree flag shader without recursion