Added tail_recursion:merge/2