Inventory management: safety stock estimation