The relationship between tonicity and flagellar length