populating next right pointer II