141106-iss001: modify calc_degree_of_freedom