add populating next right pointer (an awful solution)