A closed rectangular container with a square base is to have a volume of 125 in$\small{^3}$. The material for the top and bottom of the container will cost $3 per in$\small{^2}$, and the material for the sides will cost$3 per in$\small{^2}$. Find the dimensions of the container of least cost.

 Side of Base (in) = Height (in) =