There are two pentagonal prisms that are similar. Prism A has a height of 8 meters and a volume of 800 m^3. Prism B has a height of $16$ m, find the volume of prism B.