Tom has a box that could potentially hold 6 gallons of paint. However, due to the design of the box, it can only be filled up to 16/17 of its capacity. How many gallons of paint can Tom actually store in the box?