I think the maximum length is 8mm...
But the heatshrink sould start 1.5-2mm back from the noses of the pin

I think the pictures here describe it better