Dallas get the best player for Luka --Best Fit IMO-- and two rotational player for basically 4 expiring contracts and picks (29 prot could be removed).
Miami could extend wood and let him play with Herro and Bam.
Another move for Miami could be trade Lowry and Robinson for Westbrook plus another frp.