make the buffer a litlle bit smaller to prevent stack overflow