What is a piece of timber to support the deck, placed athwartship between beams called?

ledge — (Shipbuilding) A piece of timber to support the deck, placed athwartship between beams. (Webster's 1913.)

Sources