Design of finite-length metal-clad optical waveguide polarizer