reduce_vocab tests out, but is not optimal