Change const generation