Achieving Optical Gain of the CsPbBr3 Perovskite Quantum Dots and Influence of the Variable Stripe Length Method