A discrete memoryless source has an alphabet $\left \{ a_{1},a_{2}, a_{3},a_{4}\right \}$ with corresponding probabilities $\left \{ \frac{1}{2}, \frac{1}{4},\frac{1}{8},\frac{1}{8}\right \}.$ The minimum required average codeword length in bits to represent this source for error-free reconstruction is _________