Fix tick interval for small ranges