constrain dt