I think both parties over paid for their first round picks. For San Antonio it only makes sense if they waited until a pick or two before, because there was a guy they coveted still there. The reason I say that is that they only moved up 12 picks. A lot could happen in 12 picks, or it could make no difference at all, depending on who you want.
For Miami 2,2,3,5,6 for 1, 4,5 is not even value IMO. The 2,2 should be enough to get the single 1.