@Override
        public Builder cell(TensorAddress address, double value) {
            values[(int)toValueIndex(address, sizes(), type)] = value;
            return this;
        }
A bound builder can create the double array directly
vespajlib/src/main/java/com/yahoo/tensor/IndexedDoubleTensor.java