For the most part, your frog will be fine in a 10 gal considering how pacmans barely need space since their activity is zero to none until feeding time. No need to intentionally stunt your frog's growth because if money is an issue, bad health/care will end up costing you more than a 20 gallon tank upgrade.