dot-warn_if_onelevel function

Warn if one level factor