I remember reading and/or being told that additional distance in case of overweight landing is because you are supposed to touch down with a lower vertical speed than in normal case and thus the flare takes longer.
How exactly this is calculated for different failure cases - I doubt there is any answer oudside of Airbus performance engineering dept. I guess the extra distance will vary with approach speed for a given case