partial pattern merge support