Fixed bit_path
Removed lex_smaller_count(i,j,c) use lex_count instead