Fix modulo bias, comment on unsafe code.