Better handle the zero-size case.