This deal would get the 6ers enough under the cap to go after Harden to offer him a Max deal in the off-season. All they would have to do is trade Barnes after the season into another teams cap space.
Thunder eat salary, there would have to be some picks involved. But, I think this fills everyone’s wants and needs outside of picks changing hands.