A closed rectangular box with a square base is to be made so as to contain 1000 cubic feet. The cost of the material per sq. foot for the bottom is 15paisa, for the top 254 paisa, and for the sides 20 paisa. The labour charges for making the box are Rs. 3. Find the dimensions of the box when the cost is minimum.