std does not need to init() the ouput, speed boost
add second sequential merging function using iterators