calc decay factor