fixed bug in binary_search index padding. adding perfect hash index