Fine tune table size.  Fix overflow handling.
Update max buffer size to match overflow calculation (100000 elements).