optionally dump dim in det_mod_pk_cutoff_1()