len of last word reimpl