Ship construction and stability