stretch tabs if necessary

close #36