merging similar subgames now