rootPid and tree height stored in pid 0