What is the meaning of the word "beam-ends"?

Definitions:

  1. the ends of the transverse deck beams of a ship copy to clipboard noun
    • The boat was heeled over on its beamends so far that the deck was almost vertical. copy to clipboard