refine autorange rule