Auto stepped resistor