The cost of changing majors