Merge sorted streams heap bug fixed