fixed inefficient formula for dedutible amount