more illustrative settings for this example
added safety against big d values