Period::merge improved