maxoffdiag() and loglinearseq() will resize their output if necessary