Progress with re-write of OptimalSizeForTexture()