https://github.com/twitter/algebird/issues/316