Effect of an active layer thickness on lateral and longitudinal modes of a gain guiding laser with a tapered stripe structure