added support for crawling also medium and large context sizes