bugfix: expand_multihash_tables() incorrectly set maxlen, then it may cause buffer overrun because of longer 'maxlen' than actually assigned.