The problem is, that when I lower the the gain the readings of the grams is too close to the drift values from the Analog sensor to get a good reading.
Make sure you apply the maximum weight you'll ever need to measure prior to setting the gain.
This procedure sets the span.