the ship must be built to withhold such events well enough across its heavy bulk , matthew thought , because the tempest still far away had reefed up all its sails , fearing the destruction of its masts if the storm continued .