use proper table size