Ball and gate size validation.