merge if applicable and expanded