Carrier-depletion in the stripe-length method: Consequences for gain measurement