document length shortened