The Sunnah of carrying the bier is fulfilled by carrying each of the four corners for exactly ten paces, totaling forty paces.

Funeral Rites Part 2: Funeral Prayer, Carrying, and Burial