I have created a script for years ago, I have used it a lot in my projects and decided to share it now . Its a mesh optimiyzer polygon reducer.
Quad mesh output when used properly.
Add new modifier (TC) on modifier stack
Very easy to use ( only 4 parameters )
Compatible with 3ds max 2008 to 2022
you can get it here :