simpler safety against big d values