Deep merge