Kelly Olynyk agrees to sign with Miami Heat

Free agent 7-footer Kelly Olynyk has agreed to a four-year, $50 million-plus contract with the Miami Heat, his agent Greg Lawrence confirmed.

Olynyk, 26, had been a restricted free agent until free agent Gordon Hayward's commitment to the Boston Celtics, which created a financial mandate for Boston to renounce Olynyk's rights.

Olynyk averaged 9.5 points, 4.8 rebounds in 20 minutes a game for the Celtics. He played four seasons for the Celtics, drafted with the 13th overall pick in the 2013 NBA draft.