TORONTO - The Miami Heat tied the second-longest winning streak in NBA history, pulling away in the fourth quarter Sunday to beat the Toronto Raptors 108-91 for their 22nd consecutive victory.