Free agent center Kelly Olynyk has agreed to a four-year, $50 million deal to join the Miami Heat, according to ESPN's Adrian Wojnarowski. The deal includes a fourth-year player-option, according to his agent, Greg Lawrence.

Olynyk became an unrestricted free agent Monday after being renounced by the Boston Celtics, immediately generating interest from many teams around the league.

The fourth year veteran possesses a useful and versatile set of skills, being able to shoot the three comfortably despite playing the center position. He’s a career 47.7 percent shooter from the floor and 36.8 percent from deep, while averaging 9.5 points and 4.7 rebounds per game.

The Heat looked to add a dynamic presence to back up their cornerstone player in Hassan Whiteside, one that offers a different dimension than the highly-athletic shot-blocking machine.

Olynyk will join a cast of Goran Dragic, Whiteside and the recently signed Dion Waiters in one of the teams on the rise in the Eastern Conference, falling a tiebreaker shy of making the postseason after finishing 30-11 in the latter part of the 2016-17 campaign.

The Heat are reportedly in advanced talks with the Dallas Mavericks in potential salary-dumping moves that can help the team clear cap space. Forward Josh McRoberts could be heading to Big D — according to Wojnarowski — in exchange for center A.J. Hammons, per ESPN's Tim MacMahon.

A 10-year veteran, McRoberts is owed a cool $6 million for this upcoming season.