I have tried to maintain extension and size as well but the subprocess has some issues. can you please help me to get rid out of this problem? 