use list instead of array for ptree node children