Need to resize TLS array/matrix to exactly the size needed.