A piece of wood whose ends are square was cut from a cylindrical piece of wood which was cut from the same pieces of wood whose ends are squares 10 centimeter by 10 centimeter and length 20 centimeter. Find the volume of wood(smallest volume) with the least waste.