add C++14 constexpr merge algorithm