merge bases