How to solve zero padding problem

Here’s a related question and reply…