determine many pallets need