Shorten max buffer size for shells