Michael: determine_children works, MAX_VALUE makes children recursively