Allow one resize argument to be zero.

Closes #7.