shrink length to minimum required including USB overhang