fixed comparison betwee top_alpha size and str size in remapper.

Mistakenly compared the size of top_alpha to the frequency list, which is wrong. The string size is what's important.