rewrite multiwaymerge, reduce needed bitonic sorting network a lot. not complete.