if (this.dpTable == null || newDim1 > this.dpTable.getDimensionSize(0)
|| newDim2 > this.dpTable.getDimensionSize(1)) {
this.dpTable = new FloatMatrix3D(newDim1, newDim2, 2);
// last dimension is non-accept/accept.
if (this.trace) {
this.dpTrace = new IntMatrix4D(newDim1, newDim2,2, 3);
}
return true;
}
return false;
}