Analysis of memory depth in fixed structure learning automata