Longest Consecutive Sequence merge