protected boolean rebuildTheTables(int newDim1, int newDim2) {
if (this.dpTable == null || newDim1 > this.dpTable.getDimensionSize(0)
|| newDim2 > this.dpTable.getDimensionSize(1)) {
// System.out.print("Building new tables ... ");
this.dpTable = new FloatMatrix3D(newDim1, newDim2,
tr.getNumOfStates() + additionalStatesCount);
if (this.trace) {
this.dpTrace = new IntMatrix4D(newDim1, newDim2,
tr.getNumOfStates() + additionalStatesCount, 3);