dem_adjust: Implement the reverse adjustment