Rebuilding heater box, replace core?

I had an aftermarket one in my car when I bought it. Didn’t fit right but looked like somebody “adjusted” it to fit marginally, so I left it.