When the context window fills, you lose the wrong slice

About two thousand lines of a Service went into the window, and the important function sat in the middle. The head and the tail were still there, so it looked as if the whole file went in. When the text is too long, our own policy keeps the head and the tail. The middle does not occupy a position this turn. A token being in the window, and this layer putting weight on it, are two separate accounts.