Don't allocate room for more commas than necessary

closes #4