make alphabet size in gamma based rl encoding a parameter