this works fine -- but why check the diameter, when you could check the radius? That's the "canonical" value.