Construct inventory data only once