experimental improvment of the TSInventoryLogic to manage variable size
inventory