modified length of last word