it's already configurable, see this line. @xchrdw is right, if rand returns 0 this will crash. I'll make the lifetime configurable as well in another PR