The Larger the Better? Improved LLM Code-Generation via Budget Reallocation