add range non-numeric column selector and minor speed improvement.