Voted no , although this is not a black or white question.
The problem is not so much offering him max money as the duration of the contract.
Given his record, I would not trust this guy with a guaranteed 4/5 year contract: back in 2010, he was a second rounder, who was quickly sent to the DLeague and, then went to Lebanon and China (2013-14); even in China he was not much of a success bcs he quickly returned to Lebanon. Then he came to the NBA and Miami and had two great seasons, but it looks like both Wade and Bosh think he is a knucklehead.
Add to this that given how many teams have cap space and how few quality FAs are available, he will have his ego further inflated by dozens of managers, coaches etc asking him to join their team this summer. Looks like a classic big with attitude issues story in the making.
Moreover, he really started playing with MIA in January 2015, therefore he only has a year and something of being really good at the NBA. Can he maintain his present performance over a long period? Can he handle the psychological pressure and body exhaustion that comes with it? It's too early to say based on what he has done so far.
There are some other things to consider: his offensive game is unpolished, and his defensive plays are often questionable (see his second foul at game 6 against Hornets against Cody Zeller). Overall, he often gives me the impression to prioritize stats and highlights over substance (esp. when it comes to blocks).
Still, even with these red flags about his game he is easily among NBA's top big men; if Ainge and company had enough information to decide that he is worth taking the risk, I would trust their decision (and then good luck to us getting a player half the league also wants), when it comes to assessing character and future promise NBA insiders have more and better info than fans.