Regulation of residue stockpiles and deposits to change