significantly improved the effectiveness of caching by always trying to determine the best alpha and beta bounds