added capacity check for unloading the van