Fixed table space sizing problems. Should fix #18

Signed-off-by: hajee <hajee@moretIA.com>