Make BFHash take on non negative values only, issue #229