reduce max size of code snippet