Merge all frames