Added search caching and the STORE_BY_PRECISION environment variable.