allocate the space for the root pointer