The value of the maximum righting arm is dependent upon the position of the center of buoyancy and the __________.