Added constant generation from GD