Op, i think you are thinking about good things, just need the right push.
You are correct to be concerned about folding out a ton of villain's middle range. But here's the thing. Sometimes you gotta go for stacks. And you go for stacks with your top range. And you are targeting villains top range.
So you match up ranges like this:
You/villain
Top / Top
Middle / Middle
Bottom / Bottom
Some of these can overlap of course. But still, when you have middle set, you shouldnt be thinking of how to get value from third pair.
So when you have KK here you are targeting AK/22/A2s/A
Q
, A
J
, A
T
( with a double barrel ott)
When you have middle (AQ) you target middle (AQ-ATs, KQ, TT-JJ) (with a check ott)
When you have bottom you either give up or try to fold out bottom/middlish. So JsTs you are trying to fold out Kx, weak Ax, 99-JJ. (With a double barrel ott)
There are times in poker where your range and your actual hand smash the board. I often ask "man, what can villain even call me with here?"
Then i realize...there's only one way to find out.