merge

What if length == 0?