MIL: rids of all unwanted contract, gets all the young/expiring contracts it can handle from MIA and Kuminga from GSW.
GSW: gets Kuczma, a more predictable (but less athletic) version of Kuminga
MIA: gets Giannis + (mainly) vet minimum deals as to retool minimum contracts over summer if needed (and Portis on a longer contract does fit Heat culture).