update getTableSize (and fRowLen) for dodgy 2-based arithmetic

Change-Id: I3787a46cf8662ed709534db85d724c17c21b90dd