Update to scaling of d.