merge and refine sequence