adjust the size of tables