add next pointer to complete binary tree