Do not calculate if value is zero