Two are better than one: Context window extension with multi-grained self-injection