Balancing shipping costs and inventory in clinical trials