Deployment failure on multiple TransferHelper.safeTransferFrom()

While i try to use multiple TransferHelper.safeTransferFrom(), and the moment i try to deploy using hardhat, this is the error I am getting “…ProviderError: HttpProviderError…” .
And if it is just one TransferHelper.safeTransferFrom(), the contract does deploy easily.
Is there any solution to fix this while taking care of multiple safetransfers? Please help me with this.

is there more info in that error message?

This is the error message and just as mentioned in only appears when is multiple usage of TransferHelper.safeTransferFrom()

strange, if you try to deploy the same contract in remix then you get a different error?