A stepwise approach to reference levels