Changed template to OcTree object