Improved gradient using new scale_value