mix_betagen