change chop.rb to a maximum possible word length algorithm.