Jazz take back two bad contracts and shift draft positions. Walk away with picks 9,10 and 16 could potentially package 2 of them to move up.
Mavericks shed 2 years of bad salary for a better player and contract.
Heat free up cap space to go after the next piece to the puzzle.