Sample from DBM