Slight performance improvement of merge_complex