here is where you are flawed in your thinking.

you mentioned that the pot was relatively small for your stacksize, when A)it really isn't, your stack was T6000 the pot was T1400, or roughly 25% of your stack, that is a good portion of your stack.

B) raising to narrow the field at the 20/40 level is ridiculous and calling the 3bet is even worse.

congrats on lucksacking the hand and making a one-time good read.