write more careful comment about d values at interal vs leaf nodes