Change D tag handling to set ticks as d+1