add editable=F arg, optimize dim detection of DF