Center texture coords for better packing.

Compute the strongly connected components of each surface and add
an offset to the texture coords, so that the average TC of each
component is near zero. That reduces the chance that TCs are out
of range.