merge sort, empty stream bug fixed