It returns the diameter of the compartment