141023-iss001: modify calc_degree_of_freedom