tweak to use large if available with medium fallback