caluclate distribution fix when datum is gold