Added a static cache for findAvailableSubContexts