Optimizing Logistics with Stackable Pallets