Refactor bubble_width for table-*
Refactor assign_width for block, table-*