Equilibrium shape of a buoyant particle