improve  populate next right pointers
PopulateNextRightPointersII