Completely empty with no cargo? The ship itself is designed to be stable under nominal conditions. Also, remember that fuel is heavy and part of the load & balance equation. Carrying empty containers or with minimal cargo, or depending on cargo distribution, ballast tanks can be filled to get the center of gravity in the right place.